<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: shanpengfei
  Date: 2019/2/28
  Time: 5:58 PM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<c:set var="basePath" value="/gyp"></c:set>

<%--<jsp:include page="template_header.jsp"></jsp:include>--%>

<style>
    .register-form {
        width: 800px;
        margin: 100px auto 0 auto;
    }
    input {
        width: 500px;
        height: 40px;
        margin: 5px 0;
    }
</style>

<div class="register-form">
    <form action="${basePath}/user/login" method="post">
        <input type="text" name="username" placeholder="用户名"><br>
        <input type="password" name="password" placeholder="密码"><br>
        <input type="submit" value="登录">
    </form>
</div>

<c:if test="${status==1}">用户名错误</c:if>
<c:if test="${status==2}">密码错误</c:if>

<%--<jsp:include page="template_footer.jsp"></jsp:include>--%>
